﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TaskBox
{
    public partial class ViewSettings : Form
    {
        //public event dView ViewSet;

        public ViewSettings(int _Left, int _Top,bool _Tasks, bool _Messages, bool _Notifications)
        {
            InitializeComponent();
            Left = _Left;
            Top = _Top;
            checkBoxMessages.Checked = _Messages;
            checkBoxTasks.Checked = _Tasks;
        }

        private void checkBoxTasks_CheckedChanged(object sender, EventArgs e)
        {
            Form1.TaskChanged = true;
            //ViewSet(checkBoxTasks.Checked, checkBoxMessages.Checked, false);
            
        }

        private void label1_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
